package com.simple.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author xzc
 * @Date 2022/1/4 14:07
 **/
public class Student {
	private String username;
	private Integer age;
	private String gender;

	public Student() {
	}

	public Student(String username, Integer age, String gender) {
		this.username = username;
		this.age = age;
		this.gender = gender;
	}


	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	@Override
	public String toString() {
		return "Student{" +
				"username='" + username + '\'' +
				", age=" + age +
				", gender='" + gender + '\'' +
				'}';
	}
}
